{layout name="public/layout"}
{include file="public/fenlei" /}
<div class="layui-container">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md8">


            <div class="fly-panel" style="margin-bottom: 0;">

                <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">

                    <div class="layui-tab-content hsq_tab_content">
                        <div class="layui-tab-item layui-show">
                            <ul class="fly-list">
                                <ul class="fly-list">
                                    <?php if(isset($data)){?>
                                    <?php foreach ($data['namearr'][1] as  $ke=>$y){?>
                                    <li class="layui-col-xs6 layui-col-sm3 layui-col-md3">
                                        <div id="hsq_div">
                                            <a href='{:url("Pay/index",array("url"=>base64_encode(config('kanurl').$data['listarr'][1][$ke])))}' class="fly-avatar"  title='<?php echo $data['namearr'][1][$ke]?>'>
                                            <img src='<?php echo $data['imgarr'][1][$ke]?>' alt='<?php echo $data['namearr'][1][$ke]?>'>
                                            </a>
                                            <span class="nian">{$data['nnamearr'][1][$ke]}</span>

                                        </div>
                                        <h2>
                                            <a href="{:url("Pay/index",array("url"=>base64_encode(config('kanurl').$data['listarr'][1][$ke])))}"><?php echo $data['namearr'][1][$ke]?></a>
                                        </h2>
                                    </li>
                                    <?php  }?>
                                    <?php  }?>
                                </ul>
                            </ul>
                        </div>

                    </div>
                    <div class="paging">
                        {elt name="page" value="1"}
                        <a href="{:url('Index/lst',array('types'=>$types,'page'=>$page))}" target="_self">上一页</a>
                        {else/}
                        <a href="{:url('Index/lst',array('types'=>$types,'page'=>$page-1))}" target="_self">上一页</a>
                        {/elt}
                        {egt name="page" value="$pages[0]"}
                        <a href="{:url('Index/lst',array('types'=>$types,'page'=>$page))}" target="_self">下一页</a>
                        {else/}
                        <a href="{:url('Index/lst',array('types'=>$types,'page'=>$page+1))}" target="_self">下一页</a>
                        {/egt}
                        <a href="javascript:void(0);">当前第{$page}页</a>
                        <a href="javascript:void(0);">总共{$pages[0] <= $page?$page:$pages[0]}页</a>

                    </div>
                </div>



            </div>
        </div>
        <div class="layui-col-md4 layui-hide-xs">
            <div class="fly-panel">
                <h3 class="fly-panel-title">温馨公告</h3>
                <ul class="fly-panel-main fly-list-static">
                    <li>
                        <a name="signin"></a>
                        <a href="http://fly.layui.com/case/2018/" target="_blank">layui 案例平台，发现更广泛的生态</a>
                    </li>

                </ul>
            </div>
            <div class="fly-panel fly-signin">
                <div class="fly-panel-title">签到
                    <i class="fly-mid"></i>
                    <a href="javascript:;" class="fly-link" id="LAY_signinHelp">说明</a>
                    <i class="fly-mid"></i>
                    <a href="javascript:;" class="fly-link" id="LAY_signinTop">活跃榜
                        <span class="layui-badge-dot"></span></a>

                </div>
                <div class="fly-panel-main fly-signin-main">

                </div>
                <div class="fly-panel">
                    <div class="fly-panel-title">钻级赞助商
                        <span class="fly-mid"></span>
                        <a href="/jie/15697/" class="fly-link fly-joinad    ">我要加入</a></div>
                    <div class="fly-panel-main" style="padding: 13px 15px;">
                        <a href="http://www.ukewo.cn/" target="_blank" rel="nofollow" class="fly-zanzhu" style="background-color: #1A7BFA;" time-limit="2018-05-13 0:0:0">优客服 - 开源的智能客服系统 + 呼叫中心</a>
                        <a href="https://juejin.im/welcome/backend?utm_source=layui&utm_medium=banner&utm_content=fangwen&utm_campaign=q2_website" target="_blank" rel="nofollow" class="fly-zanzhu fly-zanzhu-img" time-limit="2018-05-20 0:0:0">
                            <img src="//cdn.layui.com/upload/2018_4/168_1524128314283_57388.jpg" alt="掘金"></a>
                    </div>
                </div>
                <div class="fly-panel fly-rank fly-rank-reply" id="LAY_replyRank">
                    <h3 class="fly-panel-title">回贴周榜</h3>



                </div>
                <dl class="fly-panel fly-list-one">


                </dl>
                <div class="fly-panel">
                    <div class="fly-panel-title">官方产品</div>
                    <div class="fly-panel-main">
                        <a href="http://www.layui.com/admin/?from=fly" target="_blank" class="fly-zanzhu" time-limit="2017.09.25-2099.01.01" style="background-color: #20222A;">layuiAdmin - layui 官方后台管理模板</a>
                        <a href="http://layim.layui.com/?from=fly" target="_blank" class="fly-zanzhu" time-limit="2017.09.25-2099.01.01" style="background-color: #009688;">LayIM - layui 即时通讯旗舰之作</a></div>
                </div>
                <div class="fly-panel" style="padding: 20px 0; text-align: center;">
                    <img src="//cdn.layui.com/upload/2017_8/168_1501894831075_19619.jpg" style="max-width: 100%;" alt="layui">
                    <p style="position: relative; color: #666;">微信扫码关注 layui 公众号</p></div>
                <div class="fly-panel fly-link">
                </div>
            </div>
        </div>
    </div>